package com.twu.biblioteca;

import java.util.Scanner;

/**
 * Created by nikeshv on 25/02/14.
 */
public class Menu {

    public String displayOptionsBeforeLogin(){
        String dispString =  "\n\nLibrarian Menu:\n1. List of Books \n2. List of Movies\n3. Login\n4. Quit" ;
        System.out.println(dispString);
        return dispString;
    }

    public String displayOptionsAfterLogin(){
        String dispString = "\n\nLibrarian Menu:\n1. List of Books \n2. List of Movies\n3. Checkout Book\n4. Checkout Movies\n5. Return Book\n6. Return Movie \n7. About User \n8. Logout \n9. Quit";
        return dispString;
    }


//    public int selectOption(){
//        int choice=0;
//        System.out.println("\nPlease Enter the Appropriate Choice:");
//        Scanner in = new Scanner(System.in);
//        choice = in.nextInt();
//        return choice;
//    }
//
//    public boolean validateChoicePreLogin(int choice){
//        boolean isValid = true;
//            if(choice<1||choice>4){
//                isValid = false;
//            }
//        return isValid;
//    }
//
//    public boolean validateChoicePostLogin(int choice){
//        boolean isValid = true;
//        if(choice<1||choice>7){
//            isValid = true;
//        }
//        return isValid;
//    }
}
